﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<InfoTech.Mvc.LanTranh.MucVu.Models.GIAODANModel>" %>
<%@ Import Namespace="InfoTech.LanTranh.MucVu.Bussiness" %>
<%@ Import Namespace="InfoTech.Mvc.LanTranh.MucVu.Models" %>
<%
    GIAODAN giaodan = Model.GetBussiness();
    foreach (SOTANHIEN sotanhien in giaodan.REF_SOTANHIEN)
    {
        Html.RenderAction("ViewUserControl_TanHien1", new SOTANHIENModel(sotanhien) { Insert = false });
    }
    SOTANHIENModel sotanhienModel = new SOTANHIENModel();
    sotanhienModel.MAGIAODAN = Model.MAGIAODAN;
    sotanhienModel.Insert = true;
    Html.RenderAction("ViewUserControl_TanHien1", sotanhienModel); 
%>